﻿@using Library.Models
@model Library.Models.OutDevice

Wyjścia: @Model.Description (adres: @Model.Address) : Stan pinów: 
@foreach(DevicePin pin in Model.Pins)
{
    <b>@pin.Pin (@pin.Name) @Html.ActionLink( (@pin.Value == true ? 0 : 1).ToString() , "ChangePin", "Device", new { address = @Model.Address, pin = @pin.Pin, value = !@pin.Value }, null) </b> @: |
}
